package com.chaodriod.common.mvp.view

import com.chaodriod.common.mvp.model.BaseModle
import com.swbyte.app.mvp.view.BaseView

/**
 * Created by CHEN on 2018-3-11.
 */

interface DataLoadView<in T : BaseModle> : BaseView {

    fun onShowLoading()

    fun onHideLoading()

    fun onLoadDataSuccess(data: T)

    fun onLoadFail(e: String)

}